//==========================================================================
// Copyright (c) 2000-2008,  Elastos, Inc.  All Rights Reserved.
//==========================================================================
/*********************************************************************
Copyright:      (c) Intel Corporation, 2002, 2003, 2004
 
INTEL MAKES NO WARRANTY OF ANY KIND REGARDING THE CODE.  THIS CODE IS
LICENSED ON AN "AS IS" BASIS AND INTEL WILL NOT PROVIDE ANY SUPPORT,
ASSISTANCE, INSTALLATION, TRAINING OR OTHER SERVICES.  INTEL DOES NOT
PROVIDE ANY UPDATES ENHANCEMENTS OR EXTENSIONS.  INTEL SPECIFICALLY
DISCLAIMS ANY WARRANTY OF MERCHANTABILITY, NONINFRINGEMENT, FITNESS
FOR ANY PARTICULAR PURPOSE, OR ANY OTHER WARRANTY.  INTEL DISCLAIMS
ALL LIABILITY, INCLUDING LIABILITY FOR INFRINGMENT OF ANY PROPRIETARY
RIGHTS, RELATING TO USE OF THE CODE.  NO LICENSE, EXPRESS OR IMPLIED,
BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS
GRANTED HEREIN.
*********************************************************************/

#ifndef Platform_h
#define Platform_h

#include "bulverde_def.h"

#define GP0_SW1             (0x00000001)      // BTBoard sw1 GPIO 0
#define GP0_SW2             (0x00000002)      // BTBoard sw2 GPIO 1
#define GP0_SW3             (0x00010000)      // BTBoard sw3 GPIO 16
#define GP0_SW4             (0x00000200)      // BTBoard sw4 GPIO 9

#define GP2_LED1             (0x00008000)      // mainstone sw3
#define GP2_LED2             (0x00004000)      // mainstone sw4
#define GP3_LED3             (0x00000004)      // mainstone sw6
#define GP3_LED4             (0x00000008)      // mainstone sw7

#define PLATFORM_BOOT_ROM       0x00000000    // nCS0 - Boot ROM (Flash) */
#define BV_SRAM                 0x5C000000    //      - Internal SRAM - 256 KB
#define PLATFORM_SDRAM          0xA0000000    // nSDCS0 - SDRAM Bank 0 */

#define PLATFORM_BOOTFLASHSIZE  0x02000000    // nCS0 - BOOT FLASH - 32 Mbytes
#define BV_SRAMSIZE             0x00040000    //      - SRAM - 256 Kbytes
#define PLATFORM_SDRAMSIZE      0x02000000    // nSDCS0 - SDRAM bank 0 - 32 Mbytes

//////////////////////////////////

/**********************/
/* External Registers */
/**********************/

//none on BTBoard

#endif
